import { BasicComponent } from './basic/basic.component';

export const HighlightConfig = {
  location: 'Highlight',
  description: ``,
  description_en: ``,
  component: [
    {
      demo: BasicComponent,
      codePath: 'showcase/highlight/basic/basic.component',
      demoTitle: '基础',
      demoTitle_en: 'Basic',
      demoDescription: '',
      demoDescription_en: '',
    },
    
  ],
  useRule: [],
  useSuggestion: [],
  snippet: `
    <lv-highlight [lvContent]="content" [lvWholeStr]="wholeStr"></lv-highlight>
	`,
  mApi: [
    {
      selector: 'lv-highlight ',
      name: 'lv-highlight ',
      name_en: 'lv-highlight ',
      api: [
        {
          attribute: 'lvContent',
          type: 'string',
          default: '--',
          description: `期望高亮显示的文本`,
          description_en: `Highlighted Characters`,
        },
        {
          attribute: 'lvWholeStr',
          type: 'string',
          default: '--',
          description: `源文本`,
          description_en: `Source Text`,
        },
      ],
      event: [],
    },
  ],
};
